package com.haixee.parkdemo.auth.enums;

import com.haixee.parkdemo.common.response.ResultPort;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum Resp implements ResultPort {

    USER_OR_PASSWORD_ERROR(100001, "账号或密码错误"),
    EMPTY_JOB(100002, "职位为空"),
    ROUTER_NOT_EXIST(100003, "请求不存在"),
    FIELD_NOT_EXIST(10004, "字段不存在"),
    FIELD_NOT_OPT(10005, "字段无法操作"),

    USER_NOT_ROLE(10006, "用户未分配角色,请联系管理员"),

    ;


    private final Integer code;

    private final String msg;
}
